package TransactionImplementation

import (
	"salary-payment/AbstractTransaction"
	"salary-payment/Model"
)

type ChangeAddressTransaction struct {
	AbstractTransaction.ChangeEmployeeTransaction
	itsAddress string
}

func (c *ChangeAddressTransaction) Change(e *Model.Employee) {
	e.SetAddress(c.itsAddress)
}
